package org.springblade.modules.repair.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Description
 * @Author ysq
 * @Date 2022/9/6
 **/
@Data
public class ByPlanHistoryDTO {

	@ApiModelProperty("用户列表")
	private Long userId;

	@ApiModelProperty(value = "开始时间")
	private Date startTime;

	@ApiModelProperty(value = "结束时间")
	private Date endTime;

	@ApiModelProperty("电梯id")
	private Long elevatorId;

	@ApiModelProperty("及时性 1-及时 2-逾期")
	private List<Integer> timeliness;

	@ApiModelProperty("时长 1-正常 2-过长 3-过短")
	private List<Integer> duration;

	@ApiModelProperty("模板id")
	private List<Long> templateIds;

	@ApiModelProperty("签到 1-正常 2-签到定位异常 3-签退定位异常 4-系统代签")
	private List<Integer> sign;

	private Integer status;

	private String keyword;

	@ApiModelProperty("计划时间排序")
	private String planDateSort;

	@ApiModelProperty("工单完成时间排序")
	private String planFishDateSort;

	@ApiModelProperty(value = "排期开始时间")
	private Date planBeginDate;

	@ApiModelProperty(value = "排期结束时间")
	private Date planEndDate;

	private Integer current;

	private Integer size;

	private String tenantId;

	private List<Integer> overdue;

	@ApiModelProperty("评分状态 0-未评分，1-已评分")
	private Integer scoreStatus;

	@ApiModelProperty("评分类型1:有效订单，2：无效工单3：无法判断")
	private List<Integer> scoreTypes;

	private String overdueTypeStr;

	/**
	 * 1:非年审，2:年审
	 */
	private String auditTypeStr;

	/**
	 * 本人id
	 */
	private Long selfId;

	/**
	 * 1-本人未签 2-他人未签
	 */
	private List<Integer> userSignatureType;

	private String statusStr;

}
